function TFloActionManager.ActivatePartnerByWhere(aWhere: string): boolean;
procedure OnMapEvent(var Value:Variant);
begin
Action.ActivatePartnerByWhere('where partnertype=1 and supplierid=''ABC''')
end;
Finds and activates a Trading Partner based on the filter provided by aWhere parameter. aWhere is a where clause for a SQL query. You can use any fields from the FLO_TRADINGPARTNERS table in the Flow configuration database to build your where clause.
The fields in the FLO_TRADINGPARTNERS table include:
Also see Trading Partner Attributes